home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d3 / vde161.arc / VDE.REF < prev    next >
Text File  |  1991-03-28  |  78KB  |  1,279 lines

  1.  
  2.  
  3.                                    VDE.REF
  4.                                    -------
  5.                      Reference Manual for the VDE Editor:
  6.                           version 1.61 (27 Mar 1991)
  7.  
  8.                              (c)1987-90, E. Meyer
  9.  
  10.  
  11.  
  12. ================================  CONTENTS  ==================================
  13.  
  14.  
  15. 1. SYNTAX.  How to invoke VDE from the DOS command line.
  16.  
  17. 2. COMMAND SUMMARY:  MenuBar choices; command keystrokes.
  18.  
  19. 3.  VDE REFERENCE, alphabetically by topic:
  20.        Accessory files, Auto format, Auto indent, Auto number, Auto save, 
  21.     Block commands, Deleting, Envelopes, Files, Find/replace, Foreign 
  22.     characters, Graphics, Header, Hyphenation, Information, Inserting, 
  23.     Justification, Line spacing, Margins, Matching files, Moving around, 
  24.     Multiple files, Page preview, Pagination, Paragraph indent, Place markers, 
  25.     Printer codes, Printer drivers, Printing, Proportional spacing, Reformat, 
  26.     Ruler line, Run command/shell, Save/exit, Screen controls, Splitting 
  27.     files, Tabs, Time/date, Undelete, Upper/lower case, Windows.
  28.  
  29. 4. MACROS.  Explanation and examples of:
  30.        Function keys, Key redefinition files, Macro definition and use, Macro 
  31.     keys, Macro programming, Toggle control, Recording macros.
  32.  
  33.  
  34. ================================  1. SYNTAX  ================================
  35.  
  36.  
  37.      TO RUN VDE, you can just type "VDE", with no arguments; or, you may 
  38. specify a list of up to 8 filenames.  Any filename may include a DOS 
  39. directory, and/or be followed by a mode option.  A key definition or printer 
  40. driver file may also be specified at the end of the command line, following a 
  41. semicolon ";".  Any spaces are ignored.
  42.  
  43.       vde {filename} {/m} {, filename2 {/m}} {,...} {;name.VD_} {;name.VD_}
  44.  
  45. EXAMPLES:     vde                           vde article.doc/w;ws4.vdf
  46.               vde sample.fil                vde b:myfile,myfile.bak
  47.               vde a:summary,\recs\sep85     vde prog.doc/a,prog.asm/n,errors
  48.  
  49.          "filename" - file to edit.  If no name is given, you begin a new 
  50.     (untitled) file.  Multiple names are separated by commas; the previous 
  51.     item's directory carries over to the next item, unless this begins 
  52.     with a drive or root "\".  (In the example above, MYFILE.BAK is on B:.)
  53.  
  54.          "/m" or " m" - optional choice of file modes: "m" can be "A"SCII,  
  55.     "W"ordstar, WordStar "5", Word"P"erfect, "X"yWrite/NotaBene, "M"icrosoft 
  56.     Word, or "U"nformatted document; or "C"-source or "N"ondocument.  Normally 
  57.     defaults to "/A".  Must be separated from filename by space and/or slash.
  58.  
  59.          ";name.VD_" - optional utility file(s) to load, must have file type 
  60.     .VDF, VDK, .VDP, .VDC, or .VDG.  Files must reside in the specified, 
  61.     current, or VDE directory.  See ACCESSORY FILES.
  62.  
  63.  
  64. ===========================  2. COMMAND SUMMARY  =============================
  65.  
  66.  
  67.      Explanation of Keys:  special IBM PC keys are indicated in [brackets], 
  68. including arrows [^,v,<,>] for the cursor keys.  [+] and [-] refer to the 
  69. keypad +,- keys only.  "Esc" indicates pressing the Escape key, [Esc]; "Esc1" 
  70. means [Esc],1.  "Alt" indicates holding down the [Alt] key: "AltD" means 
  71. [Alt]+D.  "^" indicates holding down the [Ctrl] key: "^K" means [Ctrl]+K.  
  72. Many commands require two-key sequences, like ^QR = [Ctrl]+Q,R.  The prefix 
  73. (^Q) displays in the header, and can be canceled by pressing [Esc] or [Space].
  74.  
  75.      If your keyboard lacks any of the IBM PC keys, equivalents are always 
  76. available (e.g., ^R for [PgUp]).  If you have no [Alt] key, you can still 
  77. access the Alt-commands with a double-Esc prefix: Esc,Esc,X = AltX.  (This 
  78. also allows use of VDE while Alt-keys have been redefined with TSR utilities.)
  79.  
  80.  
  81.                                 SPECIAL KEYS
  82.  
  83.       [Ret] = Carriage Return (also known as [Enter], CR, or ^M).
  84.                  New line.  In documents, marks a paragraph end.
  85.      [BkSp] = BackSpace (also known as BS or ^H).  [May instead delete.]
  86.       [Tab] = Hard Tab mode: enter Tab.  Variable Tab mode: move to next stop.
  87.   Shft[Tab] = backward variable Tab: move to previous stop.
  88.  
  89.      [Del] or ^[BkSp] = delete character to left.  [May instead delete at
  90.      [Ins] = toggle Insert mode on and off.                      cursor.]
  91.  
  92.      [^], [v], [>], [<] (arrow keys) = move cursor.
  93.      ^[<],^[>] = move to start of previous (left), next (right) word.
  94.      ^[^],^[v] = go to top, bottom of screen.  (AT keyboard only)
  95.  
  96.           [5] = make current line center of screen.    (Keypad keys,
  97.       [-],[+] = scroll back, forward one line.          NumLock off)
  98.  
  99.       [Home],[End] = go to beginning, end of line.
  100.     ^[Home],^[End] = move to top, end of file.
  101.  
  102.       [PgUp],[PgDn] = page back, forward one screen.
  103.     ^[PgUp],^[PgDn] = page both windows of split screen back, forward.
  104.  
  105.      Shft[^],[v],[>],[<]       \  (shifted arrow/keypad keys)
  106.      Shft[Home,End,PgUp,PgDn]  /         mark block
  107.  
  108.                                 MENU-BAR MODE
  109.  
  110.      Press [Esc] to call up the main menu bar; select a sub-menu by typing the 
  111. capitalized, highlighted letter, then select a command from it.  The [Esc] key 
  112. can be used to return to the main menu, or (from the main menu) to return to 
  113. editing.  For explanation of any selection, look up its command equivalent.
  114.  
  115. {Delete: del Line}       ^Y            {Misc: enter Time}        AltT
  116.          to line Start}  ^Q[Del]              enter Date}        AltD
  117.          to line End}    ^QY                  file Info}         ^KI
  118.          del to Char}    ^QT                  about VDE}         AltI
  119.          del Block}      ^KY                  Escape}            Esc
  120.          Undelete}       ^U                   Command mode}      Esc?
  121.  
  122. {moVe: Find}             ^QF           {Print: overstrike Char}  ^PH
  123.        Replace}          ^QA                   overstrike Line}  ^PM
  124.        rEpeat f/r}       ^L                    Formfeed}         ^PL
  125.        Overview bar}     AltO                  Tab}              ^PI
  126.        place Set}        ^PZ                   Graphic}          AltG
  127.        place Go}         ^QZ                   Driver}           AltV
  128.                                                Print file}       ^KP
  129.  
  130. {Text: margin L}         ^OL           {Block: Begin}            ^KB
  131.        margin R}         ^OR                   End}              ^KK
  132.        Mrgn rel}         ^OX                   Unmark}           ^KH
  133.        Justify}          ^OJ                   Copy}             ^KC
  134.        Center}           ^OC                   Move}             ^KV
  135.        Flush}            ^OF                   cuT}              AltC
  136.        rEform}           ^B                    Paste}            AltP
  137.        auto Indent}      ^OA                   Write}            ^KW
  138.        auto fmT}         ^OM                   Zoom}             ^KZ
  139.  
  140. {stYle: Underline}       ^PS           {File: rEname work}       ^KE
  141.         Bold}            ^PB                  Dir}               ^KF
  142.         Doublestrike}    ^PD                  Read in}           ^KR
  143.         Italic}          ^PY                  Load new}          ^KL
  144.         Subscript}       ^PV                  Add file}          AltL
  145.         suPerscript}     ^PT                  Next file}         AltN
  146.                                               Prev file}         AltB
  147. {Set: tab Set}           ^OI
  148.       tab Clr}           ^ON
  149.       Varitab}           ^OV           {Exit: Save to disk}      ^KS
  150.       Double spc}        ^OS                  eXit w/save}       ^KX
  151.       Prop spc}          ^OK                  Quit w/o save}     ^KQ
  152.       Hyphens}           ^OH                  Run DOS command}   AltR
  153.       pg Length}         ^OP
  154.  
  155. {sCreen: make Top}       ^OE           {User: Ruler}             ^OT
  156.          Window}         AltW                 ...}
  157.          Other win}      AltF             [This and the other four items
  158.          Header}         ^OQ               on the User bar are redefinable.]
  159.          Blank}          ^OZ
  160.          Preview}        ^OD
  161.          50/43 Ln}       AltE
  162.          132 Col}        AltA
  163.  
  164.                                  COMMAND MODE
  165.  
  166.      A concise HELP MENU is available in Command mode by pressing ^J or [F1], 
  167. and then A,E,K,O,P,Q for Alt, Esc, ^K, ^O, ^P, and ^Q commands.
  168.  
  169.  
  170. I. CONTROL KEYS:  single keystroke commands.
  171.  
  172.      WordStar arrow-key diamond:
  173.        ^E = up.    ^D = right.             ^F,^A = move to word right, left.
  174.        ^X = down.  ^S = left.
  175.  
  176.      ^W,^Z = scroll back, forward one line.
  177.      ^R,^C = page back, forward one screen.
  178.  
  179.      ^G = delete character at cursor.      ^Y = delete current line.
  180.      ^T = delete word to right.
  181.      ^U = undo last deletion (character, word, line, or block).
  182.  
  183.      ^V = toggle Insert mode on/off.       ^N = insert [Ret] (break line).
  184.      ^] = toggle Word Insert on/off.       ^_ = insert a space.
  185.  
  186.      ^P = insert special code:    ^PZ = place mark
  187.             ^P- = soft hyphen     ^P# = numbering marker
  188.             ^PB,D,S,Y,T,V,A,N,Q,W,E,R = print toggles and switches.
  189.  
  190.      ^^ = toggle case (upper/lower) of character at cursor.
  191.      ^B = reformat paragraph.              ^L = repeat last find/replace.
  192.  
  193.  
  194. II. FILE AND BLOCK COMMANDS:  first press ^K, then the key shown.
  195.  
  196.      ^KI = file/memory Information.       ^KP = Print the text.
  197.  
  198.      ^KF = disk File browser.             ^KR = Read a file into text.
  199.      ^KL = Load new file(s) to edit.      ^KJ = delete a disk file.
  200.  
  201.      ^KE = rEname current work.           ^KS = Save to disk, and continue.
  202.      ^KD = Done: save & load new file.    ^KX = eXit: save & quit to DOS.
  203.      ^KA = set Autosave interval.         ^KQ = Quit to DOS, abandoning file.
  204.  
  205.      ^KB = mark start of a Block.         ^KK = mark end of a block.
  206.      ^KH = unmark the block.              ^KY = Delete the marked block.
  207.      ^KC = Copy block at cursor location. ^KV = moVe block to cursor location.
  208.      ^KZ = Zoom into the marked block.    ^KW = Write block to a disk file.
  209.      ^K# = automatically number items in the block.
  210.      ^K",',^ = uppercase ("), lowercase ('), or switch case (^) of block text.
  211.  
  212.  
  213. III.  QUICK COMMANDS:  first press ^Q, then the key shown.
  214.  
  215.      ^QS,^QD = go to beginning, end of line.
  216.      ^QE,^QX = go to top, bottom of screen.
  217.      ^QR,^QC = go to top, end of file.
  218.      ^QB,^QK = go to beginning, end of block.
  219.  
  220.      ^QL,^QN = go to last, next page.     ^QI = go to specified page or line.
  221.  
  222.      ^QZ = go to next place marker.
  223.      ^QP = go to Previous position in file (before last sizable move).
  224.  
  225.      ^QF = find a string.                 ^QA = find and replace a string.
  226.  
  227.      ^QY = delete from cursor to end of current line.
  228.      ^Q[Del] = delete from cursor to beginning of current line.
  229.      ^QT = delete up to specified character.
  230.  
  231.  
  232. IV. ONSCREEN COMMANDS:  first press ^O, then the key shown.
  233.  
  234.      ^OR,^OL = set Right, Left margin.    ^OX = toggle Margin Release on/off.
  235.      ^OC = Center text on line.           ^OF = make line Flush right.
  236.  
  237.      ^OA = Auto indent on/off.            ^OM = auto forMat on/off.
  238.      ^OG = paraGraph indent.
  239.  
  240.      ^OK = proportional spacing on/off.   ^OS = double Spacing on/off.
  241.      ^OV = tab mode Variable/hard.        ^OH = Hyphenation on/off.
  242.      ^OI,^ON = set, clear tab stop(s).
  243.      ^OP = set Page length (0 turns off pagination).
  244.  
  245.      ^OQ = header display on/off.         ^OT = ruler line display on/off.
  246.      ^OB = hard CR display on/off.
  247.      ^OD = page preview (control codes hidden, pagebreaks displayed)
  248.      ^OE = make current line top of screen.
  249.      ^OW = split Window to show two different portions of the file.
  250.      ^OZ = temporarily blank the entire screen.
  251.  
  252.  
  253. V. ALT-KEY COMMANDS: press [Alt] and the key shown.
  254.                      (Or [Esc] twice, then the key shown)
  255.  
  256.      AltI = show VDE version Information.
  257.  
  258.      AltL = Load an additional file.      AltB = move Back to previous file.
  259.      AltW = split Window with 2 files.    AltN = move forward to Next file.
  260.      AltF = move to other File in window.
  261.  
  262.    AltC,P = Cut and Paste a block from one place or file to another.
  263.      AltM = Match up the two files on screen, showing differences.
  264.      AltX = eXit (^KX) from all files.    AltQ = Quit (^KQ) from all files.
  265.  
  266.      AltR = Run DOS command (or shell).   AltS = Split up a large file.
  267.  
  268.    AltT,D = enter the current system Time or Date in the file.
  269.      AltG = enter an IBM Graphics character into text.
  270.    AltE,A = EGA/VGA screen (43/50 lines), wide screen (132 columns).
  271.  
  272.      AltO = move with Overview bar.       AltV = change printer driVers.
  273.      AltU = Use (Load or Save) accessory file (key definitions, etc).
  274.  
  275.  
  276. VI. ESC-KEY COMMANDS:  first press [Esc], then the key shown.
  277.                        (In MenuBar mode, access via {Misc:Escape}.)
  278.  
  279.      Esc[Tab] = variable tab forward (even in hard tab mode).
  280.      Esc[<],[>] = shift screen horizontally 32 columns.
  281.      Esc[^],[v] = shift screen vertically 1/4 screen.
  282.      Esc? = switch to MenuBar mode.  (In macro mode: call up MenuBar.)
  283.  
  284.      Esc[       = define a macro string of commands.
  285.      Esc"       = record a macro from keystrokes.
  286.      Esc]       = store macro on alphanumeric key for later recall.
  287.      Esc0...Z   = use stored key.  (In macro mode: jump label.)
  288.      Esc!,=,~,$ = jumps and loops, used in macro programming (see MACROS).
  289.      Esc*       = universal toggle set.
  290.      Esc(),+,-  = counter, used in macro programming.
  291.      Esc;       = brief pause, during macro execution only.
  292.      Esc&       = chain to another macro.
  293.  
  294.  
  295. ===========================  3. VDE REFERENCE  ===============================
  296.  
  297.  
  298. ACCESSORY FILES (AltU) -  AltU allows you to change many VDE settings by using 
  299.     (loading and saving) specific types of data files.
  300.          .VDF/K files can be Loaded and Saved - see KEY DEFINITION FILES.
  301.          .VDG files can be Loaded and Saved - see GRAPHICS (CHARACTERS).
  302.          .VDP files can be Loaded - see PRINTER DRIVERS.
  303.          .VDC files can be Loaded - see CHARACTER WIDTHS.
  304.     Each of these may also be loaded with a semicolon on the command line (see 
  305.     SYNTAX).  Files must be in either the specified, current, or VDE directory 
  306.     (specified with the SET command -- see DIRECTORIES).
  307.  
  308. AUTO FORMAT (^OM) -  When on, continuously keeps the paragraph of text you are 
  309.     working on properly formatted (margins and spacing), even as you add to or 
  310.     delete from the line; format changes are implemented instantly.  When off, 
  311.     the manual ^B command can still be used (see REFORMAT).  [Default status 
  312.     can be chosen.]
  313.          Care must be taken in files with mixed formats, as the CURRENT 
  314.     settings of margins and spacing are always used.
  315.          Note that with Auto Format on, certain keystrokes may have additional 
  316.     (or no) effects, due to the instant reformatting afterward.
  317.  
  318. AUTO INDENT (^OA) -  When on, wordwrap or the [Ret] key will cause the cursor, 
  319.     upon moving to the next line, to indent to match any existing indentation 
  320.     on that line (with insert OFF) or the previous line (with insert ON).  
  321.     Thus any structured indentation you create is maintained.  Useful as a 
  322.     temporary (paragraph) indent, or for outlines, program source code, etc.  
  323.     Works in all modes, including non-document.  Note: Indentation must be 
  324.     done with spaces or variable tabs, NOT with hard tabs.
  325.  
  326. AUTO NUMBER (^P#,^K#) -  ^P# inserts a marker (a highlighted "#") in the text 
  327.     to stand for a sequential number in a list, for example:
  328.              #.  First item.
  329.              #.  Second item...
  330.     You can then mark the list off as a block (see BLOCK COMMANDS), and use 
  331.     the ^K# command: VDE will insert the numbers (1, 2, etc) in place of the 
  332.     markers.  You will be asked for the starting number; the default is of 
  333.     course 1.  (Once this is done the markers are gone.  For frequently 
  334.     revised lists, leave the ^P# markers in the file on disk; use ^K# just 
  335.     before printing, and do not save afterward.)  If auto format (^OM) is on, 
  336.     text will be realigned to compensate for varying length numbers.
  337.  
  338. AUTO SAVE (^KA) -  When on, VDE saves any changes you have made to disk 
  339.     automatically, at regular intervals.  This ensures that you don't lose too 
  340.     much work if you make a mistake, have a power outage, etc.  ^KA lets you 
  341.     set the interval (1 to 255 minutes), or turn this feature off entirely 
  342.     (0).  Just press [Ret] to restore the default, normally 0.  [This can be 
  343.     changed with VINST.]
  344.          Notes: Auto save does not actually occur during intervals when the 
  345.     keyboard is not in use, or while you are editing another file.  It cannot 
  346.     save untitled files.
  347.  
  348. BLOCK COMMANDS (^KB,^KK,^KH,^KZ,^KY,^KC,^KV,^KW; ^QB,^QK; ^KPB) -  A BLOCK of 
  349.     text is delimited by two markers, set by ^KB (beginning) and ^KK (end), 
  350.     which remain in place until reset elsewhere or deleted.
  351.          Alternatively, you can mark a block by moving the cursor to the start 
  352.     or end, holding down the Shift key, and using the PC arrow keys, [Home, 
  353.     End], or [PgUp,Dn] to move the cursor to the other end of the block, 
  354.     releasing the Shift key when finished.
  355.          ^KH unmarks the block, removing any marker(s).  The block operation 
  356.     commands all require a block to be marked first:
  357.          ^KY goes to and deletes the block (including markers).  (If you want 
  358.     to return the cursor to its position before the deletion, type ^QP.)
  359.          ^KV moves the block (including markers) to the present cursor 
  360.     location; ^KC simply copies it, leaving the original marked.  Any place 
  361.     markers present are not transferred.  (The cursor cannot be IN the block.)
  362.          ^KZ "zooms into" a block: the rest of the text is hidden, and the 
  363.     block is temporarily treated as the entire file.  This can simply isolate 
  364.     one portion of a file for your attention; it can also be done to limit the 
  365.     scope of many VDE commands (^QA, ^B, ^KI...) to that portion.  Use ^KZ 
  366.     again to zoom back out.  In zoom mode: pagination is off; you can use 
  367.     block operations, though any block markers within will disappear when 
  368.     zooming back to the whole file; if you save (^KS), VDE will automatically 
  369.     zoom back out of the block first.
  370.          ^KW writes the block text to a disk file; you will be asked for the 
  371.     filename (and optional mode).  Normally this will overwrite any existing 
  372.     file; however, you can choose instead to append the text at the end of the 
  373.     file, by typing a "+" before the filename:
  374.                   Write to file: GORT        overwrites
  375.                                  +GORT       appends
  376.          ^QB, from wherever you are in the file, moves the cursor to the block 
  377.     start; ^QK moves to the block end.
  378.          ^KPB (^KP with B option) prints the block text only.  (See PRINTING.)
  379.  
  380. DELETING (^G,[Del],^T,^Y; ^QY,^Q[Del],^QT) -  ^G deletes the character at the 
  381.     cursor.  Normally, [Del] or ^[BkSp] deletes the one to the left, and 
  382.     [BkSp] (^H) moves left without deleting.  [Instead, [BkSp] may be instal- 
  383.     led to delete to the left, and [Del] to delete at the cursor.]
  384.          ^T deletes a word to the right (everything from the cursor to the 
  385.     next word break.)
  386.          ^Y deletes the entire current line.  ^QY deletes just the part of the 
  387.     line to the right of the cursor; ^Q[Del] deletes the part to the left.
  388.          ^QT, followed by a character, deletes everything until the next 
  389.     occurrence of that character.  EXAMPLE: ^QT. (period) deletes to the end 
  390.     of the sentence.  Special case: ^QT^M ([Ret]) deletes to the next HARD CR, 
  391.     the end of the paragraph.
  392.          Unintended deletions can be recovered (see UNDELETING).
  393.  
  394. ENVELOPES (^KPA) -  VDE provides an easy way to print a single envelope to 
  395.     accompany a letter, via the "A"ddress option of the print command:
  396.        1.  Begin by moving the cursor to the address of the recipient, and 
  397.     marking this as a block (see BLOCK COMMANDS):
  398.                      {Chester Fludd
  399.                       193 Lakota St         "{}" = block markers
  400.                       Norman, OK  73069}
  401.        2.  Then use the print command (^KP), and at the options prompt, type 
  402.     "A", followed by "1" or "2" to specify the envelope size: 1 for smaller 
  403.     (letter) size envelopes, approx. 3-5/8 x 6-1/2"; 2 for larger (business) 
  404.     size, 4-1/4 x 9-1/2".
  405.        3.  Optionally, you may include a return address for the upper left 
  406.     corner of the envelope: enter this in "double quotes", using a backslash 
  407.     (\) to mark the beginning of a new line.  Example:
  408.                   Options:  A2"Your name\Your street\Your city"
  409.     (You may find it convenient to set up envelope printing with your usual 
  410.     return address as a macro key, if you will use it often.  See MACROS.)
  411.        4.  Load the envelope correctly in your printer, and press [Ret] to 
  412.     print it.  Then you can continue to edit or print the letter itself.
  413.               NOTES: Different printers handle envelope feeding in 
  414.          various ways.  VDE prints the address(es) in the 
  415.          appropriate format; you have to ensure that they wind up on 
  416.          the envelope.  With some dot matrix or wheel printers, you 
  417.          can feed in a single envelope, and manual positioning on 
  418.          the platen may be sufficient.  With other printers, a 
  419.          separate tray is available for envelopes, and you will need 
  420.          to install special codes to select the proper tray.  Many 
  421.          laser printers expect to feed envelopes sideways, so you 
  422.          will need codes to print in a landscape font.  [Any control 
  423.          codes needed to prepare your printer for an envelope can be 
  424.          added with VINST; see PRINTER INSTALLATION.]
  425.               Because of the way laser printers operate in landscape 
  426.          mode, VDE ordinarily prints both size envelopes with their 
  427.          RIGHT edge in the same place.  This means that on other 
  428.          printers, the LEFT edge of the smaller envelope must be 
  429.          placed 3" (30 columns) in from the left margin.  If this is 
  430.          inconvenient, it can be overridden by specifying the left 
  431.          margin option (e.g. "L0") AFTER the "A1" option.
  432.  
  433. FILES (^KL,^KR,^KJ,^KF) -  ^KL loads new file(s) to edit, REPLACING the 
  434.     current one.  (If the file has been modified, you will be prompted to 
  435.     confirm that you mean to abandon it; if you want to load file(s) in 
  436.     ADDITION to the current one, use AltL instead.)  You may enter either a 
  437.     single filename or a list delimited with commas (see SYNTAX).
  438.          ^KR reads in the contents of a disk file, inserting the text at the 
  439.     current cursor position.
  440.          ^KJ deletes any disk file you specify.  (If you need more complex 
  441.     file utilities, remember that you can run any DOS command with AltR.)
  442.  
  443.          All these commands prompt for specific filenames.  If you are unsure, 
  444.     or would rather see a directory first, you can call up the FILE BROWSER by 
  445.     pressing [Ret] alone for *.*, or typing a filename with wildcards, like 
  446.     *.LET.  (Note: if you want to load an "untitled" file, press ^J or ^[Ret], 
  447.     instead of [Ret], at the ^KL prompt.)
  448.          The file browser can also be called up directly with ^KF.  You may 
  449.     specify a directory (or ".." for the parent directory) and/or filename 
  450.     mask, and the contents will be alphabetically listed.  (The default, if 
  451.     you just press [Ret], is the directory shown, and all files *.*.)  Files 
  452.     display alphabetically in uppercase, then directories in lowercase.  If 
  453.     there are more items than will fit on screen, you will see "..." to 
  454.     indicate this; the display will scroll as needed.  [Note: display of .COM, 
  455.     .EXE and other unreadable files can be suppressed.]
  456.          To remove the display, press [Esc] or [Space].  But while it is on 
  457.     screen, you can move the cursor through the list with the arrow keys, 
  458.     [PgUp,Dn], or [Home,End]; additionally, a letter "A..Z" may be typed to go 
  459.     to the first file beginning with that letter.  When the cursor is on the 
  460.     selected item, you can press:
  461.             [Ret] to load this file in place of the current one (see ^KL);
  462.              ^L   to load it as an additional file (see AltL);
  463.              ^R   to read it into the current file (see ^KR);
  464.             [Del] to delete this file (be careful; deletion is immediate).
  465.     If the file you want to load/read requires a different file mode, you can 
  466.     first press "/" and the correct mode letter (A,U,N,C,W,5,P,X,M, or space).
  467.          You may also select a directory, in which case you can press:
  468.             [Ret] to view its contents in turn;
  469.             [Del] to remove it (if empty).
  470.  
  471. FIND/REPLACE (^QF,^QA; ^L) -  ^QF is the command to FIND a string.  The search 
  472.     normally proceeds from the cursor position forward, and is case (upper- 
  473.     lower) sensitive.  The character ^_ (Ctrl-underline) functions as a 
  474.     wildcard: it will match any single character.  The single code ^M (CR, or 
  475.     [Ret]) indicates a "newline" in VDE.  Some control codes can be entered 
  476.     directly; some (like ^M) require the ^P prefix.  Graphics characters can 
  477.     be entered using AltG.  Examples:
  478.            Find: ^MLABEL       matches "LABEL" at start of line only;
  479.            Find: p^_^_ce       matches "piece", "peice", etc.
  480.         ^QA is the REPLACE command.  It asks for a string to find, as above, 
  481.     then what to change it to.  Normally, the cursor will move to each 
  482.     occurrence of the string, and you will be asked ("Chg?") whether to change 
  483.     it; answer "Y"es or "N"o, or "*" to change all the rest without asking, or 
  484.     press [Esc] to quit.
  485.          There are several options for find/replace:
  486.            "B" = search Backward through the file;
  487.            "U" = case insensitive search (ignore Upper/lower distinction);
  488.            "G" = search Globally (from start or end of file);
  489.            "A" = Align (reform) paragraphs again after each replacement;
  490.            "N" = No query: replace all instances without asking.
  491.     To skip the options prompt, finish entry of the find string (for ^QF) or 
  492.     replace string (for ^QA) by typing ^J or ^[Ret] instead of [Ret].
  493.          Notes:  "A"lign is assumed by default if auto format (^OM) is on.  
  494.     (Be careful about mixed format files in this situation.)  "N"o query is 
  495.     assumed whenever ^QA is used in a macro.  ["U"ppercase can be set as your 
  496.     default, in which case pressing "U" means case sensitive.]
  497.          ^L instantly repeats the last find or replace operation; the "B", 
  498.     "U", and "A" options remain as last specified.
  499.  
  500. FOREIGN CHARACTERS -  Characters in the upper ASCII range (128-255), such as 
  501.     the foreign letters and accents, can be entered directly into text using 
  502.     either standard DOS method: one of the DOS KEYBxx keyboard map utilities, 
  503.     or the [Alt] key and numeric keypad (with [NumLock] on, hold down [Alt] 
  504.     while pressing 1,5,5 for character 155).
  505.          VDE treats these characters as "graphics": you are limited to a total 
  506.     of 32 such codes at a time, and any that you have used may be found in the 
  507.     menu brought up by the AltG command.  See GRAPHICS.
  508.  
  509. GRAPHICS (AltG) -  You can enter an IBM graphic (or foreign) character into 
  510.     the file either directly from the keyboard, via [Alt] and the numeric 
  511.     keypad, or with the AltG command.  You will be presented with a menu of up 
  512.     to 32 characters (labeled A-Z,1-6) to choose from; the default set 
  513.     contains some useful box drawing parts, and has room free for other 
  514.     characters that might be loaded.  [It can also be modified with VINST.]
  515.          Any open menu entry can be defined on the spot.  Type "=", then the 
  516.     code (A-6) to change.  You can then select the desired character from the 
  517.     complete graphics set, by moving the cursor to it and pressing [Ret].  
  518.     Alternatively, if you press [Esc], you may enter the extended ASCII code 
  519.     in either hex (2 digits 80-FF) or decimal (3 digits 128-255) format.  
  520.     Example: the Greek alpha can be entered either as "E0" hex or "224" 
  521.     decimal.  Once defined, the graphic can be entered into the file by 
  522.     pressing its menu letter; its definition cannot be changed again during 
  523.     the same editing session.
  524.          NOTE: In addition to the 128 graphics characters, the code ^Z (hex 
  525.     1A, decimal 026) may only be entered as a graphic.  (^PZ embeds not ^Z but 
  526.     a place marker.)  Furthermore, several codes in the range 00-1F,7F (000- 
  527.     031,127) are reserved for internal use; though they can be entered with 
  528.     ^P, they will be represented as graphics.
  529.          CAUTION: If you load a file containing many graphics (or binary data 
  530.     that will be interpreted as graphics), VDE will try to add each in turn to 
  531.     its table.  If the graphics table fills up, any further graphics will be 
  532.     replaced by duplicates of graphic #6.  You will see an error message, and 
  533.     the file will become "untitled", to guard against saving to disk and 
  534.     corrupting the file.  If you frequently work with graphics characters you 
  535.     will want to keep your default table relatively empty to avoid this.
  536.          Graphics are stored in disk files in accord with the current file 
  537.     mode.  Printing of graphics depends on whether your printer font is 
  538.     installed [see PRINTER INSTALLATION] as IBM graphics (PC8) or Roman8, or 
  539.     neither, in which case VDE will "emulate" them, choosing standard ASCII 
  540.     character overstrikes that come as close as possible.  This usually works 
  541.     well, especially for the foreign language characters.
  542.  
  543. HEADER (^OQ) -  The "header" at the top of the screen can be toggled on and 
  544.     off with ^OQ.  [The default can be set either way.]  It provides useful 
  545.     information, but can be removed if you prefer to edit with a screen 
  546.     showing nothing but your text.  It looks like this:
  547.     -----------------------------------------------------------------------
  548.     + VDE.DOC  /A        P 14   L 11   C 48   Ins   vt hy AI DS J+ PS " ^K_
  549.                      or (NP/BZ)              (WIn)       (AF)  (MR)
  550.     -----------------------------------------------------------------------
  551.     '+' = Multi-file flag.  Present if other file(s) are being edited.
  552.     'VDE.DOC /A' = Current filename and mode.  The full drive and path 
  553.          information, along with other files being edited, can be displayed 
  554.          with the ^KI command (see INFORMATION).
  555.     'P 14, etc' = Cursor position in file by page (in document modes), line, 
  556.          column.  If pagination is off (^OP0), you will see 'NP' instead of a 
  557.          page number; in block zoom mode (^KZ) you will see 'BZ'.
  558.     'Ins','WIn' = Insert mode (^V) or Word Insert (^]) on.
  559.     'vt' = Variable Tab mode (^OV) on. 
  560.     'hy' = Hyphenation (^OH) enabled.  (Documents only)
  561.     'AI' = Auto Indent mode (^OA) on.
  562.     'AF' = Auto Format mode (^OM) on.  (Documents only)
  563.     'DS' = Double spacing (^OS) on.
  564.     'J+/-' = Right Justification mode (^OJ) on.  (Documents only)
  565.     'MR' = Margins released (^OX).  (Documents only)
  566.     'PS' = Proportional spacing (^OK) on.
  567.       "  = Double quote mark appears during macro recording (Esc").
  568.    '^K_' = Command key prefixes (and some prompts) display here.
  569.  
  570. HYPHENATION (^OH,^P-) -  ^OH toggles hyphenation on and off.  If off, midword 
  571.     hyphens are not treated as wordbreaks.  [The default can be changed.]
  572.          VDE can't hyphenate automatically, but it can recognize hyphens that 
  573.     you type in the text, treating them as a legitimate place to break a line.  
  574.     In addition to ordinary hyphens, "-", there are "soft hyphens" (SHs), 
  575.     which you can enter by typing ^P- (^P,hyphen), and which display in a 
  576.     different color.  SHs indicate optional places to break a long word: they 
  577.     will print as a hyphen when they fall at the end of the line (that is, 
  578.     when actually in use to break a word), but do not print if they wind up in 
  579.     mid-line.  (Note: only WordStar (/W or /5) file modes store soft hyphens 
  580.     as such; when saving to disk in other modes, as in printing, they either 
  581.     become hyphens or disappear, as appropriate.)
  582.  
  583. INFORMATION (^KI,AltI) -  ^KI displays an Information message telling you:
  584.       The full name (including directory) of the current file;
  585.       When it was last saved, and whether (Y/N) it has been changed since;
  586.       Any print toggles (^B,D,S etc) that seem to be mispaired;
  587.       A word count for document files (useful for professional writing);
  588.       The current size of the file in bytes or K (1K = 1024 bytes);
  589.       The number of bytes of memory used and free in this text segment;
  590.       The amount (in K) of memory free to edit further files;
  591.       The names of all other files being edited.
  592.          The AltI command displays the VDE version, date, and copyright.  (An 
  593.     uninstalled copy of VDE does this automatically on startup.)
  594.  
  595. INSERTING (^V,[Ins],^],^_,^N) -  ^V or [Ins] toggles Insert mode on/off, and 
  596.     ^] toggles Word Insert.  When both are OFF, VDE is in overwrite mode: any 
  597.     text to the right of the cursor is replaced as you type.  With Insert (^V) 
  598.     ON, any existing text is instead carried to the right.  With Word Insert 
  599.     (^]) ON, you can type over the letters of a word, but anything you add at 
  600.     the end of the word (when the next character is a space) is inserted 
  601.     without overwriting; this is a handy feature for revising text.  [The 
  602.     default insert status can be changed.]
  603.          The ^_ and ^N commands (insert space, CR) are most useful in 
  604.     Overwrite mode (avoiding the need to turn Insert on and back off).
  605.  
  606. JUSTIFICATION (^OJ) -  ^OJ controls right justification mode, cycling between 
  607.     three states:
  608.               ADD.  ("J+" in header.)  Text paragraphs will be 
  609.          formatted with an even right margin, by inserting extra 
  610.          spaces between words as necessary.
  611.               REMOVE.  ("J-" in header.)  Formatting will undo 
  612.          justification by removing any extra spaces between words, 
  613.          leaving an uneven right margin again.
  614.               OFF.  Formatting does not change spacing of text; 
  615.          right margin is left uneven.
  616.     Thus the Reform (^B) command can justify or de-justify text as desired.
  617.          Right-justified text should not be saved to disk in file mode /U 
  618.     (which has no margin structure) or in modes /X, /M, or /P (because 
  619.     XyWrite, MS Word, and WordPerfect will not recognize VDE's method of 
  620.     justification).
  621.          Justification does not work with proportional spacing (^OK).
  622.  
  623. LINE SPACING (^OS) -  ^OS toggles between single and double line spacing.  In 
  624.     double space mode, the following functions generate double carriage 
  625.     returns: [Ret] (^M), Insert CR (^N), Reform (^B), Wordwrap.  You can 
  626.     easily mix single and double spacing; ^B can convert between the two.
  627.          Note: a single-spaced file can also be printed out double-spaced with 
  628.     the "D" option of the ^KP command (see PRINTING).
  629.  
  630. MARGINS (^OR,^OL,^OX,^OC,^OF) -  ^OR sets the Right margin, and enables text 
  631.     formatting.  At the prompt, enter the column number (up to 255), or just 
  632.     press [Ret] for the current cursor column.  (Note: in proportional mode 
  633.     (^OK), the number is interpreted in 1/10" instead of characters.)
  634.          ^OL similarly sets the Left margin column; the value must be less 
  635.     than the right margin.  (^OL is normally used for indenting selected 
  636.     paragraphs.  To leave blank space at the left of the page throughout when 
  637.     PRINTING, see the "L" option of the ^KP command, or the left margin 
  638.     setting in PRINTER INSTALLATION.)
  639.          "Wordwrap" is automatic in all document modes whenever the margins 
  640.     are set: anything typed before the left margin will move up to it; 
  641.     anything typed past the right margin will wrap over to the next line.  
  642.     (See also REFORMAT and AUTO FORMAT.)  Wordwrap and formatting are disabled 
  643.     if the right margin is set to 1, or while margins are released (^OX).
  644.          (NOTE: Margins cannot be set in /N (nondocument) mode; a left margin 
  645.     cannot be set in /X, /U, or /M mode.)
  646.          ^OX toggles margin release, allowing you to type outside them.
  647.          ^OC Centers the current line with respect to the margins; ^OF sets 
  648.     the line Flush right.  The cursor advances to the next line.
  649.  
  650. MATCHING FILES (AltM) -  This command can locate small differences between two 
  651.     largely similar files (perhaps an earlier and a later revision of your 
  652.     work).  You must first load these two files (AltL), then split the screen 
  653.     between them (AltW), and position the cursor in corresponding places in 
  654.     both files (for example, the top).
  655.          Then press AltM.  Starting from these positions, VDE searches for any 
  656.     difference between the files.  If there is one, VDE will stop on those 
  657.     lines, showing the disagreeing passages side by side.  If you want to 
  658.     continue, press AltM again.  (If the difference was significant you may 
  659.     first need to reposition one cursor to match the other.)  If the cursor 
  660.     winds up at the end of both files, they match.
  661.          Note: in document modes, AltM compares word by word, ignoring mere 
  662.     formatting differences (margins, spacing etc).  In /N mode, it is an exact 
  663.     character by character comparison.
  664.  
  665. MOVING AROUND (Arrows; ^F,^A,^C,^R; ^QE,X,S,D; ^QR,C; ^QI,^QL,^QN,^QP; AltO) -  
  666.     VDE supports two sets of Arrow keys, which function interchangeably: the 
  667.     four arrow keys [^,v,<,>] on the IBM keyboard, and the WordStar "diamond" 
  668.     ^E,^X,^S,^D.  These keys move the cursor one unit up, down, right, and 
  669.     left respectively.  There are many other movement commands as well:
  670.          ^F or ^[>] moves right, to the start of the next word; ^A or ^[<] 
  671.     moves left, to the start of the current (and then previous) word.  ^C or 
  672.     [PgDn] scrolls forward (down) one screen; ^R or [PgUp] scrolls backward 
  673.     (up) one screen.
  674.          Preceded by ^Q, any arrow key moves more Quickly: thus ^QE, ^QX go 
  675.     to the top or bottom of the screen; ^QS, ^QD to the left or right end of 
  676.     the line.  Similarly, ^QR and ^QC scroll all the way to the beginning or 
  677.     end of the file, respectively.
  678.          ^QI moves directly to a given page (for documents) or line (for non- 
  679.     documents).  In documents, ^QL and ^QN move to the start of the Last or 
  680.     Next page, respectively.
  681.          ^QP returns the cursor to its Previous position -- before the last 
  682.     large movement occurred.  (This means AltM,AltO,^B,^QR,^QC,^QF,^QZ,^QB, 
  683.     ^QK, and any other command that moves to the block location via ^QB.)  ^QP 
  684.     can be used again to cycle between these two positions in the file.
  685.          AltO displays an Overview bar at the top of the screen.  The length 
  686.     of the bar corresponds to the filesize, and the current position is marked 
  687.     so you can see where you are.  You can move the place marker left or right 
  688.     with the arrow keys; the cursor remains in the original (current) 
  689.     position.  To move to the selected position, press [Ret]; press [Esc] 
  690.     instead to cancel.
  691.  
  692. MULTIPLE FILES (AltL,AltB,AltN,AltX,AltQ,AltC,AltP) -  VDE allows you to edit 
  693.     up to 8 files simultaneously, if you have enough memory.  This can be done 
  694.     from the command line, by giving the filenames separated by commas.
  695.          Otherwise, to Load additional files, press AltL.  You may specify a 
  696.     single filename, or a list delimited with commas (see SYNTAX); for an 
  697.     untitled file, press ^J or ^[Ret].  You can also access the file browser 
  698.     with [Ret] or wildcards (see FILES).  (You will get an error message if 
  699.     you run out of memory, or are already editing the named file, or 8 files.)
  700.          Once multiple files are in use, AltB and AltN can be used to cycle 
  701.     back and forth through the files being edited.  If you Quit or Exit 
  702.     (^KQ,^KX) from one file, you will be returned to the previous one.
  703.          For convenience, AltX exits ALL files immediately, saving any changes 
  704.     made.  AltQ quits ALL files immediately, without saving; if any of them 
  705.     have been modified, you will be prompted (just once) to confirm this.
  706.          AltC Cuts a marked block of text, placing it in a buffer for later 
  707.     recovery.  (The original remains, unless you delete it with ^KY.)  AltP 
  708.     Pastes in the previously cut text at the cursor position, allowing block 
  709.     copying and moving between files.)
  710.          It is possible to view two files on screen at once (see WINDOWS).
  711.  
  712. PAGE PREVIEW (^OD) -  This command shows you a preview of the text as it would 
  713.     print: with all non-printing codes (markers, ^P codes, etc) hidden, and 
  714.     page breaks indicated by a row of dotted lines.  This is handy for making 
  715.     sure that text is aligned properly, and will help you avoid wasting time 
  716.     and paper on unacceptable printouts.  You can scroll through the file in 
  717.     this mode with [PgUp,Dn] or ^R,^C; or move to the top or bottom, with 
  718.     ^[Home,End].  Press [Esc] to continue editing.
  719.  
  720. PAGINATION (^OP,^PL) -  The ^OP command sets the page length.  Enter a value 0 
  721.     to 255 lines, or just press [Ret] to restore the default.  [Normally 56.]
  722.          When the value is nonzero, it determines the page and line shown in 
  723.     the document header ("P xx L xx"), and all page functions in the Print 
  724.     routine (pagination, headers, start/stop at page) are enabled.  A formfeed 
  725.     will be sent to eject each page.  [VDE does not send a formfeed before 
  726.     printing; install one in your printer initialization if you want.]
  727.          When the value is zero, pagination is off.  The header will say "NP 
  728.     L xxxx", showing you the absolute line number in the file; printing 
  729.     occurs with no page breaks.  (This is useful for printing small things 
  730.     right after each other on the same sheet; or, in conjunction with the "*" 
  731.     option, multiple copies of index cards, labels, etc.)
  732.          The ^PL command embeds a formfeed (^L) in the text, to begin a new 
  733.     page; the best place to put it is at the beginning or end of a line.
  734.  
  735. PARAGRAPH INDENT (^OG) -  Of course you can indent text simply by changing the 
  736.     left margin (^OL), but there are times when you want only a temporary 
  737.     indent.  ^OG gives a "paragraph indent"; each time you use it, the left 
  738.     margin is reset to the next tab stop over (see TABS).  The indentation 
  739.     lasts until you type the [Ret] at the end of the paragraph (or use the ^B 
  740.     or ^OL commands), at which time the original left margin is restored.
  741.  
  742. PLACE MARKERS (^PZ,^QZ) -  You can set any number of temporary place markers 
  743.     in the text with ^PZ (they display as a highlighted "Z").  The ^QZ command 
  744.     moves the cursor to the next place marker in the file, cycling back to the 
  745.     top of the file as needed.  (Place markers are NOT saved to disk.)
  746.  
  747. PRINTER CODES (^P) -  This command prefix is used to enter various "codes" in 
  748.     the ASCII range 00-1F into the text, usually for purposes of printer 
  749.     control.  Most codes are entered in a standard fashion: ^PA embeds ^A, 
  750.     etc.  Those with defined functions in VDE documents display as highlighted 
  751.     letters ("A" etc); others (nearly all, in non-documents) display as 
  752.     graphics.  It is possible to embed the code ^Z (hex 1A) in a file, but 
  753.     only via AltG (see GRAPHICS), since ^PZ gives a place marker.  (Use 
  754.     caution; many programs treat this code as an end of file mark.)
  755.          Several common control codes produce special effects:
  756.           ^P^I - hard (ASCII) tab - printers respond variously to this
  757.             ^L - formfeed - will cause a page break
  758.             ^H - backspace - overstrike previous character
  759.             ^M - carriage return - enter a CR without a LF to overstrike line
  760.                   (do NOT hit another [Ret] after this, just continue typing)
  761.     The further codes below operate only in documents.
  762.          ^P^G causes printing to pause, with "^PG" in the display, until you 
  763.     press [Ret] to continue.  This allows you to adjust the platen for 
  764.     printing various forms.  (Note: on many dot matrix printers, can only be 
  765.     used at the start of a line.)
  766.          In addition, in place of complex "escape sequences" for effects such 
  767.     as underlining, in document files VDE lets you enter a single marker, 
  768.     which will be translated into the proper codes during printing.  VDE 
  769.     supports a set of 13 codes for this purpose: seven toggles, six switches.  
  770.     [See PRINTER INSTALLATION on how to install the proper commands for your 
  771.     printer.  Otherwise, only ^PS and ^PX will work.]  The conventional 
  772.     WordStar meanings of these codes are:
  773.        Toggles: ^P^B  boldface        Switches: ^P^Q  (user def 1)
  774.                   ^D  ("doublestrike")            ^W  (user 2)
  775.                   ^S  underline                   ^E  (user 3)
  776.                   ^Y  italic ("ribbon")           ^R  (user 4)
  777.                   ^T  superscript                 ^A  alternate pitch
  778.                   ^V  subscript                   ^N  standard pitch
  779.                   ^X  strikeout [has no installation]
  780.     But you can use them for anything you like.  "Toggles" are good for 
  781.     features like underlining that are turned on and off; enter them in pairs, 
  782.     to mark the beginning and end of the desired text.  "Switches" are better 
  783.     for multi-valued parameters like character pitch; enter them once.
  784.          If toggles are not properly paired, you will find print effects 
  785.     continuing throughout the rest of your document.  To save time and effort, 
  786.     use the ^KI command to check for this before printing.  (If an "S" appears 
  787.     under the "^Check" heading, there is an unpaired ^S somewhere.)
  788.  
  789. PRINTER DRIVERS (AltV,AltU) -  Since many people use more than one kind of 
  790.     printer, VDE accomodates two different printer drivers, a primary and an 
  791.     alternate.  Before printing a file, you can select which one is active 
  792.     using AltV.  [You can change both drivers with VINST.]
  793.          AltU gives you access to an unlimited number of further printer 
  794.     drivers in the form of .VDP disk files; select "L"oad, then type the file 
  795.     name.  [See PRINTER INSTALLATION for instructions on how to create such 
  796.     files.]  The new driver will replace the previous primary.
  797.  
  798. PRINTING (^KP) -  The ^KP command Prints the file from memory.  You will be 
  799.     asked for a set of "Options:", at which point you may enter one or more of 
  800.     the following, in any order:
  801.        '...'  sends a string of printer control commands before printing 
  802.             begins.  These must be entered in ASCII format: type in the ACTUAL 
  803.             characters or control codes.  If the command is "Esc A" (1B 41 
  804.             hex), type "Esc","A".  (For control codes, 01 = ^A, 02 = ^B, etc.  
  805.             Some will require the ^P prefix: 00 (^@) = ^P@, etc.  You may 
  806.             find an ASCII table helpful; see PRINTER INSTALLATION.)
  807.  
  808.        Tnn    sets a TOP MARGIN skip of nn lines.     [The default margins can
  809.        Lnn    sets a LEFT MARGIN skip of nn columns.    be set with VINST.]
  810.        D      DOUBLESPACES the printout.
  811.        ^      FILTERS control codes (like ^X) so they print out as text "^X".
  812.        *nn    prints the entire job out nn TIMES (nn=1...255).
  813.        B      prints only the currently marked BLOCK.
  814.        (FILENAME)   redirects printer output to a disk file.  All print 
  815.             control codes will go into the file just as they would have been 
  816.             sent to your printer.  If you want to append the output to an 
  817.             existing file, type a "+" before the name: (+FILENAME).
  818.        A      ADDRESSES an envelope; see ENVELOPES.
  819.  
  820.        N      NUMBERS pages sequentially, at top right.
  821.        C      numbers pages at bottom CENTER.
  822.        "..."  uses the quoted string as a HEADER.  The string will print at 
  823.             the top right unless it begins with a "<" character, in which case 
  824.             it prints at the left.
  825.               Note: you can include the current Filename, Time or Date in the 
  826.             header simply by entering ^F, ^T, or ^D, respectively.
  827.        S      SUPPRESSES the header/page number on the first page of output.
  828.        F      prints FACING pages (header/number reversed on even pages).
  829.        O,E    prints only Odd or Even pages (print one, then run the paper 
  830.             back through and print the other, for double-sided printing).
  831.        P      PAUSES for your keystroke before each page prints (sheet feed).
  832.        @nn    begins printing AT page nn of the document.
  833.        #nn    prints only (up to) a TOTAL of nn pages.
  834.        =nn    RENUMBERS the printout to start at page nn.
  835.     (The paging options (T,N/C,"...",S,F,O/E,P,@,#,=) will NOT work if the 
  836.     page length is set to 0 (^OP), or if 'B'lock print was chosen.  'C' cannot 
  837.     be used together with 'N'.)
  838.  
  839.               EXAMPLE 1:      Options:  "<STATUS REPORT: ^D" N F
  840.     will put a header like "STATUS REPORT: 10/19/90" at the top left of each 
  841.     page, and the page number at the top right (vice versa on even pages).
  842.               EXAMPLE 2:      Options:  L12 #1
  843.     will print one page only, with an added left margin of 12.  (Printing a 
  844.     single page is a good check of page layout before going ahead to print a 
  845.     long file.  To continue at page two, of course, use Options:  @2.)
  846.               EXAMPLE 3:      Options:  BD(+SCRATCH)
  847.     will append the print output of the current marked Block, double spaced, 
  848.     to the disk file SCRATCH.
  849.  
  850.          NOTES:  The left margin setting (via "Lnn" or VINST) is in columns, 
  851.     and its physical width will vary according to the font in use.  If you 
  852.     need a fixed margin, it is better to find your printer's Esc command for a 
  853.     left margin setting in inches or dot columns, and add this to your printer 
  854.     initialization string.
  855.          If you are in /W or /5 file mode, any WordStar dot commands in the 
  856.     file (lines beginning with ".") will not be printed.
  857.          You can abort printing at any time by pressing [Esc].
  858.  
  859. PROPORTIONAL SPACING (^OK) -  Normally VDE assumes a fixed pitch font: one 
  860.     character equals one print column.  Yet if your printer has a proportional 
  861.     font, you can get VDE to use it, and to format text so that it will print 
  862.     with more appropriate margins.  With ^OK on, your printer will be put in 
  863.     proportional mode when printing (^KP); and all wordwrap and reformatting 
  864.     (^B,^OC,^OF) will take advantage of a table of varying character widths, 
  865.     resulting in a better aligned printout.
  866.          In proportional mode, the right margin needs to be interpreted in 
  867.     inches rather than characters, based on a conversion of 10 cpi, so that a 
  868.     right margin (^OR) of 70 means 7.0".  (Note: characters may well extend 
  869.     beyond the 70th column.)
  870.          [See PRINTER INSTALLATION to install codes for proportional mode on 
  871.     your printer, and CHARACTER WIDTHS to adjust the width table.]
  872.  
  873. REFORMAT ([Ret],^B;^OB) -  In documents, pressing [Ret] creates a permanent or 
  874.     "hard" Carriage Return marking the end of a paragraph.  (This is a CR 
  875.     without a preceding space; wordwrap creates a removable "soft CR", 
  876.     preceded by a space.  See TEXT FORMATTING.)
  877.            ^B reformats the paragraph the cursor is in according to the 
  878.     current margin settings and line spacing.  (Thus ^B is used not only to 
  879.     reshape a paragraph after editing, but also to change its format in 
  880.     various ways: see MARGINS, JUSTIFICATION, LINE SPACING.)  If the top line 
  881.     is indented relative to the next one, VDE preserves that as paragraph 
  882.     indentation.  To reformat an entire file use the MACRO command (Esc[) to 
  883.     repeat ^B.  (See also AUTO FORMAT.)
  884.          ^OB toggles display of hard CRs, which are normally marked by a left- 
  885.     arrow character in document files, to distinguish them from soft ones.  If 
  886.     you find this distracting, it can be turned off.
  887.  
  888. RULER LINE (^OT) -  To help you align text properly, ^OT displays a "ruler 
  889.     line" above the text.  Type ^OT again to remove it.  A moving pointer 
  890.     indicates the current column.
  891.          In each column you will see one of several symbols: the arrow "v" is 
  892.     the cursor column; "L,R" designate the current margins; "." indicates 
  893.     areas outside the current margins, "-" within them.  Also, tab stops are 
  894.     marked by either "!" (Variable) or ":" (Hard).  Examples:
  895.         (/A mode)      L-----!---!----------v--!--------------R........
  896.         (/N mode)      :.......:.......:....v..:.......:.......:.......
  897.  
  898. RUN COMMAND/SHELL (AltR) -  AltR lets you run DOS commands without leaving 
  899.     VDE.  An imitation DOS prompt is produced (e.g., "C:\WORK>"); you can copy 
  900.     or rename files, or run any other program you like, and afterwards VDE 
  901.     will prompt you to "Press [Esc]", which will return you to your undis- 
  902.     turbed VDE editing session.
  903.          In addition, you may type "SHELL", which lets you out into what is 
  904.     known as a Command Shell: you are actually back IN DOS, and can use any 
  905.     number of commands or move around as you like; when through, you need to 
  906.     type the DOS command EXIT to leave the Shell.
  907.          Caution: don't load new memory-resident utilities from within the 
  908.     AltR command; this fouls up the DOS memory allocation.
  909.          To use AltR, you must have enough free memory to load and run the 
  910.     chosen program; and VDE must be able to find COMMAND.COM in order to 
  911.     execute it, which it does by checking the COMSPEC environment variable.  
  912.     Be sure either that your AUTOEXEC.BAT file includes a line like
  913.                         SET COMSPEC=C:\COMMAND.COM
  914.     or that your CONFIG.SYS file includes a line like
  915.                         SHELL=C:\COMMAND.COM C:\ /E:xxx /P
  916.     (In either case replace "C:\" with the appropriate directory.)
  917.  
  918. SAVE/EXIT (^KE,^KS,^KX,^KD,^KQ) -  ^KE renames your work, allowing you to 
  919.     change the filename in the header before saving.  (Accepts mode option; 
  920.     you can also specify a mode alone, "/W", simply to change the current 
  921.     mode.)  Note: if you want to make the file "untitled", press ^J or ^[Ret], 
  922.     instead of [Ret], at the prompt.
  923.          ^KS saves your work so far, writing the file to disk under the 
  924.     filename in the header.  (If it's "untitled", a new name will be 
  925.     requested.)  If the file has not been modified, you will be prompted to 
  926.     confirm that you meant to save it again anyway.
  927.          For safety, a copy of the existing file is preserved as a BACKUP FILE 
  928.     (with extension ".BAK") each time you save changes.  [If you prefer not to 
  929.     use BAK files, you can suppress their use with VINST.]
  930.          There are several different commands for finishing up:
  931.          ^KX saves your work (if modified), and then EXITS to DOS.
  932.          ^KD saves your work, then loads a new file to edit.
  933.          ^KQ just QUITS, without saving to disk.  If the file has been 
  934.     modified, you will be prompted to confirm that you meant to do this!
  935.  
  936. SCREEN CONTROLS (^W,^Z; Esc[^,v,<,>]; ^OE,^OZ; AltA,AltE) -  VDE provides a 
  937.     number of commands affecting the screen display:
  938.          ^W and ^Z scroll the screen up and down a line at a time, without 
  939.     moving the cursor in the text (unless necessary).
  940.          Preceded by [Esc], any arrow key shifts the SCREEN, leaving the 
  941.     cursor in place: the text view moves up/down 1/4 screen, or right/left 32 
  942.     columns.  (The cursor must be past column 32 to allow horizontal shifts.)
  943.          ^OE makes the cursor line the top of the screen.
  944.          ^OZ temporarily blanks the entire screen; good for avoiding CRT burn- 
  945.     in, or just protecting work from prying eyes or fingers.  Restore the 
  946.     screen by pressing [Esc].  This is also useful if some other software 
  947.     (like a resident utility) has messed up the screen: type ^OZ,Esc and VDE 
  948.     will completely restore it.
  949.          AltA toggles between normal (80-column) mode and wide (132-column) 
  950.     mode.  It can be used alone, or in combination with AltE to provide a 
  951.     43/50x132 screen.  This command works ONLY with certain VGA or EGA cards 
  952.     which offer 132 column displays [see INSTALLATION to specify yours].  
  953.     (NOTE: even if VDE does not support your video card, you should be able to 
  954.     edit in any screen size it offers.  Just use the utilities provided with 
  955.     your card to set the screen size before entering VDE.)
  956.          AltE lets you see more lines of text on screen, if you have an EGA or 
  957.     VGA display.  In its basic form (for example, when in 132-column mode), it 
  958.     toggles between normal 25-line mode and a compressed mode of 43 (EGA) or 
  959.     50 (VGA) lines.  The optional VDEOPT.DAT file instead allows it to display 
  960.     a prompt offering a wide range of sizes:
  961.                  VGA - 20,25,28,33,40,50,57 lines  (by 80 columns)
  962.                  EGA - 17,25,29,35,43,50    lines
  963.     You can enter a letter code A-G, or [Ret] for your default value [which 
  964.     can be changed with VINST].  The 20/17 line mode is very easy on the eyes; 
  965.     the 57/50 line mode can pack a whole page of text into one screen.  To 
  966.     make these extra modes available the VDEOPT.DAT file must be in the 
  967.     current or VDE directory (set with the SET command -- see DIRECTORIES).
  968.  
  969. SPLITTING FILES (AltS) -  If you encounter a text file that is too large for 
  970.     VDE to load and edit, you can divide it into manageable chunks with the 
  971.     Split command.  You will be prompted for the file to split and a "output 
  972.     name" pattern with a "#" in it, to name the resulting pieces.  Example:
  973.               Split file, output name (w/#):  HUGE.DOC, PIECE.#
  974.     This will go through the file HUGE.DOC and write out a series of smaller 
  975.     files PIECE.1, PIECE.2 etc, which can then be edited.
  976.          Note that the output name must be separated from the input by a 
  977.     comma, and must contain one # sign, which will be replaced by a 1, 2, etc 
  978.     in sequence.  (The above example could have used HUGE-#.DOC, etc.)
  979.  
  980. TABS ([Tab],Shft[Tab]; ^OV,^OI,^ON; ^PI,Esc[Tab]) -  There are two Tab modes, 
  981.     Variable and Hard; ^OV toggles between them.  In Hard Tab mode the Tab key 
  982.     produces an actual ^I (ASCII TAB) character.  Hard Tabs display at fixed 
  983.     intervals [normally 8 columns; optionally 4 or 16].
  984.          In Variable Tab mode (the default for documents), the Tab key moves 
  985.     to the next tab stop set.  The cursor moves over any existing text; spaces 
  986.     are added at the end of a line if needed.
  987.          Up to eight tab stops may be set with ^OI, or cleared with ^ON; the 
  988.     defaults are in columns 6, 15, 35, and 55.  [These can be changed.]  Both 
  989.     commands prompt for a column number, or you can press [Ret] for the cursor 
  990.     column.  The Set command ^OI also accepts two options, both of which 
  991.     replace all previous tab settings:
  992.               @nn           Set tabs every "nn" columns
  993.               #n1,n2,...    Set tabs to columns "n1,n2,..."
  994.     You can simply clear all variable tabs by typing "@" or "#" alone.
  995.          The Shft[Tab] command tabs backwards (left to the previous stop), 
  996.     useful for moving around in tables, etc.
  997.          You can always get a Hard Tab with ^PI, or a Variable Tab with 
  998.     Esc[Tab], no matter which tab mode you are in.
  999.  
  1000. TIME/DATE (AltT,AltD) -  VDE can read the DOS system clock and insert the 
  1001.     current time and date in your file automatically.  Just press AltT for the 
  1002.     Time, or AltD for the Date.  The string will appear at the current cursor 
  1003.     location, as though you had typed it in yourself: for example,
  1004.               1:21 PM            [or 13:21 -- VINST selects the format]
  1005.               January 15, 1988   [or 1/15/88, 15 January 1988, 15.1.88]
  1006.  
  1007. UNDELETING (^U) -  The undelete function can be used to recover accidentally 
  1008.     deleted text or overstruck characters.  The lost text will be replaced at 
  1009.     the current cursor location.  ^U may be used repeatedly to undo a sequence 
  1010.     of deletions, recovering each character, word, or line in order.  (Once 
  1011.     all deleted text is restored, ^U does nothing.)
  1012.          Exception: block deletions cannot be recovered sequentially, they 
  1013.     must be undeleted immediately (before any other deletion occurs).
  1014.          Undeletion can also be used as a sort of quick-and-dirty block move.  
  1015.     For example, if the cursor is at the start of a word, the commands ^T^F^U 
  1016.     (which of course can be assigned to a macro key) will swap that word with 
  1017.     the one following it.  Similarly, ^Y^X^U will swap two lines.
  1018.  
  1019. UPPER/LOWER CASE (^^; ^K",^K',^K^) -  ^^ (Ctrl-caret or 6) reverses the case 
  1020.     of the character at the cursor, if it was a letter, and moves to the next.
  1021.          The ^K^ (^K-caret) command reverses all text in a marked block (see 
  1022.     BLOCK COMMANDS); ^K" makes all text in the block uppercase, ^K' lowercase.
  1023.  
  1024. WINDOWS (^OW; AltW,AltF; ^[PgUp,PgDn]) -  VDE can split the screen into two 
  1025.     windows, showing either two parts of the same file or two different files.  
  1026.     In either case, AltF moves the cursor back and forth between the two 
  1027.     windows.  ^[PgUp] and ^[PgDn] scroll BOTH windows in synchronization.
  1028.         ^OW is used in a SINGLE file; it creates a window in the bottom half 
  1029.     of the screen, duplicating the current file text.  You can move to a 
  1030.     different place in the file within this window, and continue editing, with 
  1031.     the original text still in view in the top window.  (Note: any 
  1032.     modifications made to the file will not be reflected in the inactive 
  1033.     window until you return to it.)  Type ^OW again to undo windowing.
  1034.         AltW splits the screen Window between two DIFFERENT files being 
  1035.     edited, showing you both at once.  Type AltW again to undo.
  1036.  
  1037.  
  1038. ================================  4. MACROS  =================================
  1039.  
  1040.  
  1041. FUNCTION KEYS ([F1]...[F12]) -  Up to 48 macros can be assigned to function 
  1042.     keys; they can then be recalled and used with one keystroke.  Each IBM 
  1043.     function key can be used alone or with Shift, Ctrl, or Alt, to produce:
  1044.                     [F1]...[F10]  =  F01...F10 in VDE notation
  1045.               Shift-[F1]...[F10]  =  F11...F20
  1046.                Ctrl-[F1]...[F10]  =  F21...F30
  1047.                 Alt-[F1]...[F10]  =  F31...F40
  1048.     And, if you have an Enhanced (101-key) AT keyboard, also:
  1049.              [F11],[F12]  =  F41,F42         Ctrl-[F11],[F12]  =  F45,F46
  1050.        Shift-[F11],[F12]  =  F43,F44          Alt-[F11],[F12]  =  F47,F48
  1051.     VDE comes with [F1] set as a "Help" key (^J), but this can be changed.
  1052.          Otherwise, function keys are defined (with the Esc[ or Esc] command, 
  1053.     or with VINST) and used exactly like macro keys.  See MACRO KEYS.
  1054.  
  1055. KEY DEFINITION FILES (AltU) -  These files save sets of macro key or function 
  1056.     key definitions, and should be given file types of ".VDK" and ".VDF", 
  1057.     respectively.  You can load any key file, along with your text file(s) to 
  1058.     edit, from the command line (see SYNTAX).
  1059.          AltU can be used while editing: it will ask whether you want to 
  1060.     "L"oad or "S"ave such a file, then prompt for the name of the file.  The 
  1061.     filetype MUST be ".VDK" or ".VDF", and will determine whether MACRO or 
  1062.     FUNCTION keys are affected.  If you load such a file, those definitions 
  1063.     will replace any previous ones.  If you save, the current definitions will 
  1064.     be written to the file.  [Key files can also be created or installed as 
  1065.     defaults in your copy of VDE, using VINST.]
  1066.  
  1067. MACRO DEFINITION AND USE (Esc[,Esc]) -  To DEFINE a macro, type Esc[.  You 
  1068.     will be asked for the macro definition; then, whether to Use or Store it.  
  1069.     (On storing, see MACRO and FUNCTION KEYS.)  You may want to plan the macro 
  1070.     first with pen and paper.  If you Use the macro, you need to decide 
  1071.     whether you want it to repeat (and if so how many times), and whether you 
  1072.     want to watch it happen or not.
  1073.             VDE asks "Make Quiet, No-repeat, Both?"  Reply "Q" for 
  1074.          Quiet (fast) operation, or press [Ret] for visible (slower) 
  1075.          execution.  (The "N" option is intended for storing keys, 
  1076.          but can also be typed here to skip the next question.)
  1077.             VDE asks "Repeat count?"  Type the number of times to 
  1078.          execute (0-254), or just [Ret] for 1; or "*" to repeat 
  1079.          indefinitely.
  1080.         Normally, you can see the results as the macro executes, and you can 
  1081.     abort it at any time by pressing [Esc].  If you choose to speed up macro 
  1082.     execution by specifying "Q"uiet mode, only the header will be updated as 
  1083.     the macro runs.  (Don't do this if the macro concludes by requesting user 
  1084.     input -- the necessary prompts would not display!)
  1085.          Macros will stop if an error occurs; the error message will be 
  1086.     visible, and can be cleared by pressing Esc.  Many commands (like Find or 
  1087.     Reformat) are designed to generate errors at the end of the file so that 
  1088.     an indefinite ("*") macro containing them will halt there.  Other indef- 
  1089.     inite macros may need to be aborted manually.  (Exception: Esc$ can change 
  1090.     error handling.  See MACRO PROGRAMMING.)
  1091.          Once defined, a macro can be re-used with the Esc] command, which 
  1092.     again gives you the options to Use or Store the previously defined macro.
  1093.  
  1094.          EXAMPLES:  Note -- for clarity, macro examples will be given here as 
  1095.     they function, not as they are typed in; remember that you will need to 
  1096.     add ^P prefixes for certain control keys ([BkSp] (^H), [Ret] (^M), ^J, ^X, 
  1097.     ^U, ^P).  Keystrokes are often separated by spaces for clarity; the "_" 
  1098.     symbol is used to represent an actual space character typed.
  1099.             1.  Reformat an entire file: after Esc[, just enter
  1100.                                   ^B
  1101.          Specify Quiet and indefinite repeat as options ("Q,*").
  1102.             2.  View a file by scrolling slowly through it:
  1103.                                Esc; ^C
  1104.          This pauses, then scrolls down.  (Again, repeat with "*".)
  1105.             3.  Macros are quite powerful.  Can you figure out what 
  1106.          this one does, if entered with indefinite repeat "*"?
  1107.                 ^QR ^QF(^J ^G ^KB ^QF)^J ^G ^KK ^QC [Ret] ^KV
  1108.          (It takes all phrases in parentheses out of a file, making 
  1109.          a list of them at the end of the file.)
  1110.  
  1111.          TECHNICAL NOTE: Ordinarily macros are completely self-contained, and 
  1112.     NEVER request input from the keyboard while executing.  There is one 
  1113.     exception: using AltR to run a program from a macro is tricky.  Input 
  1114.     while in the program or shell must be typed by you.  (VDE resumes control 
  1115.     only when the program ends.)
  1116.  
  1117. MACRO KEYS (Esc0...Z) -  Both the Esc[ and Esc] commands also give the option 
  1118.     of Storing the macro definition to a key.  Up to 36 of these can be stored 
  1119.     on keys 0...9,A...Z; they can then be called up with two key-strokes.  (48 
  1120.     more can be stored on IBM function keys; see FUNCTION KEYS.)  Example: if 
  1121.     stored to key 3, a macro can be reused simply by typing Esc3.
  1122.             VDE asks "Make Quiet, No-repeat, Both?"  Reply "Q" for a 
  1123.          key that executes in Quiet (fast) mode; "N" for a key that 
  1124.          runs once, without asking for a repeat count; or "B" for 
  1125.          both of these.  Press [Ret] instead for a key that executes 
  1126.          just like the "use macro" option, visibly, asking for a 
  1127.          repeat count first.
  1128.             VDE asks "Store to key?"  Press the desired key: a 
  1129.          number 0...9 or letter A...Z for a Macro key (Esc0...Z), or 
  1130.          a Function key like [F3], Alt[F9], etc.
  1131.     Again, don't choose "Q"uiet for a key that will request input from you.
  1132.          There is a total of about 974 bytes available for all 36 keys, and a 
  1133.     128 byte limit for any one key.  (VDE's own input line is of limited 
  1134.     width, but VINST can handle up to the full 128.)  Trying to use an 
  1135.     undefined key results in an error.  You can delete a key definition by 
  1136.     entering an empty macro string (Esc[, [Ret]) and storing it to the key.
  1137.          Keys defined with Esc[ or ] last only during the current editing 
  1138.     session (VDE.COM itself is not modified).  [VINST lets you install 
  1139.     definitions permanently; see DEFAULT MACRO KEYS.]
  1140.  
  1141.          EXAMPLES: Keys are useful for storing a frequently repeated phrase; 
  1142.     "EscW" is much more convenient than "World Wide Widgets Ltd. (N.A.)".  You 
  1143.     might also use several for sets of margins, like: ^OL 5 [Ret] ^OR 60 
  1144.     [Ret].  A key defined as ^QR ^N AltD ^OF would place the current date at 
  1145.     the top right of a letter.  Many VDE users set up a macro key to produce a 
  1146.     personalized letterhead: for example, the macro
  1147.               ^N John Doe ^OC ^N 123 Main St ^OC ^N City, State ^OC
  1148.     will insert that three-line address, neatly centered.  You can add print 
  1149.     effects (bold, italic) to suit your taste.  For a solid line separating 
  1150.     this from the body of the letter, try adding
  1151.                           ^N ^PS ^OF ^E ^V ^PS ^V ^X
  1152.          Macro keys can be used to create powerful new commands, for example: 
  1153.     ^D ^A ^KB ^F ^KK will mark the current word as a block.  And, similarly, 
  1154.     ^QS ^KB ^X ^KK will mark the current line as a block.
  1155.          Macro keys can also effectively change the way VDE commands behave.  
  1156.     For example, the Cut (AltC) command does not remove the cut text from the 
  1157.     file; but if you wish it did, you can set up a command that does: just 
  1158.     define EscC as a macro key consisting of AltC, ^KY.
  1159.  
  1160. MACRO PROGRAMMING (^F Esc; Esc0..Z Esc! Esc=,~ Esc$ Esc() Esc+,- Esc&) - VDE 
  1161.     has several commands that operate only within a macro definition, and give 
  1162.     you conditional control over the execution of a macro, allowing real 
  1163.     programming.
  1164.          ^F, entered as part of an input string, will be replaced by the 
  1165.     current filename when the macro executes.  This can be useful to refer to 
  1166.     the current file when running compilers and file utilities.  Thus, if you 
  1167.     define the macro
  1168.                          AltR compile ^F /g /r1 [Ret],
  1169.     the ^F embedded in the string will be expanded, so that the DOS command 
  1170.     executed by AltR will actually be something like
  1171.                          compile C:\PGM\MYPROG.C /g /r1.
  1172.          Esc; (Esc-semicolon) gives a brief pause before macro execution 
  1173.     continues, presumably so the user can see what's happening on screen.
  1174.          Esc0...Z, when placed IN a macro, function simply as local "labels" 
  1175.     0...Z.  They have no effect, but can be "jumped" to by other commands.
  1176.          Esc! followed by 0...Z is a "jump" instruction, causing macro 
  1177.     execution to resume with the command following that label.  Example: Esc!2 
  1178.     jumps to label 2.  As two special cases, Esc![ jumps to the beginning of 
  1179.     the macro, and Esc!] jumps to the end (exits).
  1180.          Esc= and Esc~ perform tests on the character at the current cursor 
  1181.     position.  There are two ways to use them:
  1182.               (1) Followed by a character, then a label 0...Z (or 
  1183.          "[","]" for start or end), they are conditional jumps: they 
  1184.          jump IF the character does (or for "~", does NOT) match the 
  1185.          one specified.  Example: Esc~^M2 jumps to label 2 if the 
  1186.          current character is NOT a CR.
  1187.              (2) Followed by a character, then ">" or "<", they are 
  1188.         search loops.  They will continue to move the cursor right 
  1189.         (or for "<", left) as long as the character at the cursor 
  1190.         does (or for "~", doesn't) match, or until the beginning or 
  1191.         end of the file.  Example: Esc=_> moves right as long as the 
  1192.         current character is a space (so it stops on a NONspace).
  1193.          If you program an endless loop, you will at some point have to abort 
  1194.     by pressing Esc.
  1195.          Normally, a macro aborts when an error occurs.  With Esc$ you can 
  1196.     instead specify a label where execution should continue.  Thus, after the 
  1197.     command Esc$E, any command resulting in an error (like "not found") will 
  1198.     cause a jump to label E, ignoring the error.
  1199.          Several commands allow the use of a counter variable.  Esc() sets the 
  1200.     value: for example, Esc(0) initializes it to zero.  The Esc+ command 
  1201.     simply increments the value; Esc-(minus) decrements the value, then jumps 
  1202.     if it is zero to a specified label.  (In addition to a number, you may use 
  1203.     "[" or "]" for the start or end, or "@" to avoid jumping entirely.)  
  1204.     Example: Esc-] decrements the counter, jumping to the end (exiting) if it 
  1205.     reaches zero; Esc+@ simply increments it.
  1206.          Esc&, followed by 0...Z, is used to "chain" to another macro key.  In 
  1207.     this way you can build up strings longer than the 128-byte limit on any 
  1208.     one key.  This is a "jump", not a "call"; there is no returning.  Example: 
  1209.     Esc&M causes key M to execute.  (You cannot chain to function keys.)
  1210.          Don't make macro programs Quiet until you're sure they work.
  1211.  
  1212.          EXAMPLES: 1. Here is a good macro program (best stored as a Quiet 
  1213.     key) to move the cursor to the start of the current sentence:
  1214.                Esc~.1 ^S Esc1 Esc~.< ^D Esc=_2 Esc=^M2 ^S^S Esc!1
  1215.                          Esc2 ^D Esc=_2 Esc=^M2
  1216.     You could explain this in programmer's pseudo-code as:
  1217.               If not "." goto label1    ;move left if already on period
  1218.               Move left
  1219.      label1:  While not "." move left   ;move left to previous period
  1220.               Move right                ;move right to following character
  1221.               If " "  or ^M goto label2
  1222.               Move left twice           ;skip over a period if it's not
  1223.               Goto label1               ;  followed by a space or return
  1224.      label2:  Move right                ;okay, now move right as long
  1225.               If " " or ^M goto label2  ;  as you see a space or return
  1226.               (all done)
  1227.          2. A macro to move to the start of the current paragraph:
  1228.                           ^QS ^S^S Esc=_[ ^D^D
  1229.          3. If you have some text that you can't reformat because every line 
  1230.     ends in HARD CRs, here is a macro that will "soften up" one paragraph's 
  1231.     worth, leaving just one HARD CR at the end:
  1232.                    ^QS ^X Esc=_] Esc=^M] ^S ^V_^V ^D Esc![
  1233.          4. A macro to match parentheses.  Many programming languages use 
  1234.     nested sets of parentheses, for example "{}" in C.  This program, when the 
  1235.     cursor is placed on an open bracket "{", will move ahead to find the 
  1236.     closed bracket "}" that matches it:
  1237.                     Esc~{] Esc(0) Esc1 Esc~{2 Esc+ Esc!3
  1238.                                   Esc2 Esc~}3 Esc-]
  1239.                                   Esc3 ^D Esc!1
  1240.  
  1241. TOGGLE CONTROL (Esc*) -  "Toggle" commands can create difficulties when used 
  1242.     in macro and function keys: ^V, for example, toggles insert mode.  But 
  1243.     when you plan a macro key, you don't necessarily know how Insert will be 
  1244.     set when the key is used!  So if you use ^V in the macro, you don't know 
  1245.     whether you just turned it off or on; you might be overstriking or 
  1246.     inserting, and can't tell.
  1247.          The Esc* command provides a solution, by letting you specify exactly 
  1248.     what state you want for each toggle.  Esc* must be followed by a LETTER to 
  1249.     identify a toggle, UPPERcase to turn it ON or LOWERcase to turn it off.  
  1250.     (Insert and Justify each have a third state, as well.)  For example, Esc*i 
  1251.     will set INSERT OFF, regardless of its previous state.  The toggles are:
  1252.               Autoindent    (^OA)  'a'=off  'A'=on
  1253.               Doublespace   (^OS)  'd'=off  'D'=on
  1254.               auto Format   (^OM)  'f'=off  'F'=on
  1255.               Hyphenation   (^OH)  'h'=off  'H'=on
  1256.               Insert        (^V)   'i'=off  'I'=on  'W'=word
  1257.               Justification (^OJ)  'j'=off  'J'=on  'R'=remove
  1258.               Proportional  (^OK)  'p'=off  'P'=on
  1259.               Varitab       (^OV)  'v'=off  'V'=on
  1260.     Once you've used one of these you can revert to the usual commands (like 
  1261.     ^V), if you prefer, because you WILL now know the toggle setting.
  1262.               NOTE: Previous versions of VDE handled this problem 
  1263.          for Insert mode (alone) by turning insert OFF automatically 
  1264.          before running any macro.  This is no longer the case.
  1265.  
  1266. RECORDING MACROS (Esc") - As an alternative to composing macros and using the 
  1267.     Esc[ command to type them in, you can simply record a macro as you go 
  1268.     about a task.  Press Esc" to activate recording; type away; then press 
  1269.     Esc" again to conclude.  You will then be asked whether to use or store 
  1270.     it, etc (see MACROS).  No confusing ^P prefixes are needed, and you can 
  1271.     take advantage of the full 128-key macro length.  While recording, a quote 
  1272.     mark (") will be visible in the upper right (prefix) area of the header, 
  1273.     if the header is displayed.
  1274.          Note: Function and macro key commands themselves will not work while 
  1275.     macro recording is in progress.
  1276.  
  1277.  
  1278. ====================================[end]=====================================
  1279.